//#define __FORCE_TRACE__
//#define __FORCE_DEBUG__
//#define __FORCE_INFO__
#define THIS_FILE "tyr_repair\fn_addRepairType.sqf"
#include <core_macros.h>

TRACE_1("Start",_this);
TMFPROFILERSTART;

private ["_type","_added"];
DEFAULT_PARAM(_type,0,"");
_added = false;
if (IS_STRING(_type) && { isClass(configFile/"CfgVehicles"/_type) }) then {
	if (!(_type in GVAR(RepairVehicleList))) then {
		GVAR(RepairVehicleList) set [count GVAR(RepairVehicleList), _type];
	};
	_added = true;
};

TRACE_1("End",_added);
TMFPROFILERSTOP;
_added 